<template>
  <div class="dashboard-container">
    <!-- <div class="dashboard-text">我是首页</div> -->
    <div class="dashboard-text">欢迎您！</div>
    <!--<div class="dashboard-text">name:{{ name }}</div>-->
    <!--<div class="dashboard-text">roles:<span v-for="role in roles" :key="role">{{ role }}</span></div>-->
    <!-- 首页 -->
    <!-- <myEchart/> -->
    <!-- <div id="myChart" :style="{width: '100%', height: '300px'}"/> -->
    <!-- <h3>{{ titleText }}</h3> -->
  </div>
</template>

<script>

</script>

<style rel="stylesheet/scss" lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
.indexWarp{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    .top {
        overflow: hidden;
        height: 50px;
        line-height: 50px;
        background: #f5f5f5;
        border-bottom: 1px solid #ddd;
        .title{
            padding-left: 10px;
            float: left;
            font-size: 14px;
            font-weight: b;
        }
        .edit{
            padding-right: 10px;
            float: right;
            font-size: 12px;
        }

        .titleRight{
            padding-right: 20px;
            float: right;
            font-size: 12px;
            color:#666;
            .keyStr{
                color:#F56C6C;
                font-size: 20px;
            }

        }
    }
    .content{
        padding-bottom:10px;
        position: relative;
        .echartsTitle {
            font-size: 12px;
            color: #666;
            position: absolute;
            right: 140px;
            top: 0;
            .keyStr{
                color: #F56C6C;
                font-size: 18px;
            }
        }

        // 待处理
        .pending{
            width: 100%;
            height: 100px;
            line-height: 100px;
            margin-bottom:20px;
            font-size: 16px;
            color:#666;
            display: flex;
            justify-content: space-evenly;
            .keyStr{
                color:#F56C6C;
                font-size: 28px;
            }
        }

        // 统计
        .statistic{
            width: 100%;
            font-size: 16px;
            color:#999;
            display: flex;
            flex-wrap:wrap;
            padding: 10px 0;
            .keyStr{
                color:#333;
                font-weight: 400;
                font-size: 20px;
            }
            p{
                width:33%;
                text-align: center;
                line-height: 20px;
                font-size: 12px;
            }
        }

        // 今日新增
        .newAdd{
            width: 100%;
            line-height: 20px;
            padding-top: 20px 0 10px 0;
            font-size: 16px;
            color:#666;
            display: flex;
            justify-content: space-evenly;
            text-align: center;
            .keyStr{
                color:#F56C6C;
                font-size: 28px;
            }
        }
    }
    .noData{
        height: 310px;
        line-height: 310px;
        color: #999;
        text-align: center;
    }
}
.indexWarp_box{
        width: 100%;
        display: flex;
        justify-content: space-between;
        .half{
            width: 49% !important;
        }
    }
</style>
